package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.entity.AddressBook;

import java.util.List;


/**
 * 地址簿 服务类
 *
 * @author alkaid
 * @since 2024-02-24
 */
public interface AddressBookService extends IService<AddressBook> {
    List<AddressBook> list(Long userId);

    void create(AddressBook addressBook);

    void setDefaultAddress(AddressBook addressBook);

    AddressBook getDefaultAddress();
}
